#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by master on 2017/4/12

from bs4 import BeautifulSoup

import requests

header = {
    "Host": "rd2.zhaopin.com",
    "Referer": "http://jobads.zhaopin.com/Position/PositionManage",
    'Connection': 'keep-alive',
    'Cache-Control': 'max-age=0',
    'Upgrade-Insecure-Requests': '1',
    'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36',
    'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
    'Accept-Encoding': 'gzip, deflate, sdch',
    'Accept-Language': 'zh-CN,zh;q=0.8',
}
url = "http://rd2.zhaopin.com/rdapply/resumes/apply/position"
data = {"SF_1_1_46": "0",
        "SF_1_1_44": "193118190",
        "JobTitle": "JAVA工程师",
        "JobStatus": "3",
        "IsInvited": "0",
        "jobNum": "CC429697526J90250033000", }
html = requests.get(url=url, headers=header, data=data, timeout=30, cookies=cookie).content
